package org.linlinjava.litemall.admin.beans.dto;

import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * 商品辅料dto
 * @author ：lilu
 * @description：TODO
 */
@Data
public class GoodsAccessoryDto {

	private Integer id;
	@NotNull
    private Integer goodsId;
	@NotBlank
    private String groupName;

    //辅料英文名
    private String groupNameEn;

    //辅料组名
    private String accessoryGroupName;

    //辅料价格
    @NotNull
    private BigDecimal price;
    //计费类型(0:次(按次计费只需增加一次费用),1:份)
	@NotNull
    private Integer costType;
	//原料消耗系数
	@NotNull
	private BigDecimal consumeRatio;

    @NotNull
    private BigDecimal dosage;
    
    //原料id
    @NotNull
    private Integer merchandiseId;
    //原料名称
    @NotNull
    private String name;
    //数量
    @NotNull
    private Integer number;

    private Double muchContent;

    private Double fewContent;


    //原料编码(返回)
    private String merchandiseSn;
    //原料规格(返回)
    private String standard;
    //原料型号(返回)
    private String model;
    //原料单位(返回)
    private String basicUnit;
 
}
